import { defineStore } from 'pinia';

export const useUser = defineStore('user',{
    state:() =>({
        count:0,
        other:'坚持就是胜利！'
    }),
    getters:{

    },
    actions:{
        addSum(count:number){
            this.count += count;
        }   
    },
    persist: true
})

